package com.yonyou.marketing.app.api.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "TT_SOSHELP")
public class TtSoshelp {
    @Id
    @Column(name = "SOSHELP_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_SOSHELP")
    private Long soshelpId;

    @Column(name = "CAR_OWNER_USER_ID")
    private Long carOwnerUserId;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "LONGITUDE")
    private BigDecimal longitude;

    @Column(name = "LATITUDE")
    private BigDecimal latitude;

    @Column(name = "HELP_LOCAL")
    private String helpLocal;

    @Column(name = "SUPPORT_DATE")
    @Excel(name="请求时间")
    private String supportDate;

    @Column(name = "SUPPORT_FINISH_DATE")
    @Excel(name="救援完成时间")
    private String supportFinishDate;

    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "SALES_CONSULTANT_ID")
    private Long salesConsultantId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @Column(name = "UPDATE_DATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    @Column(name = "ODD_NUMBER")
    @Excel(name="救援单号")
    private String oddNumber;

    @Column(name = "SOS_TYPE")
    private String sosType;

    /*
     * 定位城市名
     */
    private String regionName;
    
    /*
     * 微信OPENID
     */
    private String openId;
    
    /*
     * 车主姓名
     */
    @Excel(name="车主姓名")
    private String userName;
    
    /*
     * 联系电话
     */
    @Excel(name="联系电话")
    private String phone;
    
    /*
     * 车牌号码
     */
    @Excel(name="车牌号码")
    private String licenseNo;

    @Excel(name="销售服务店")
    private String dealerName;
    
    private String remark;

    @Excel(name="救援状态")
    private String statusName;

    @Excel(name="救援方式")
    private String typeName;
    
    /**
     * @return SOSHELP_ID
     */
    public Long getSoshelpId() {
        return soshelpId;
    }

    /**
     * @param soshelpId
     */
    public void setSoshelpId(Long soshelpId) {
        this.soshelpId = soshelpId;
    }

    /**
     * @return CAR_OWNER_USER_ID
     */
    public Long getCarOwnerUserId() {
        return carOwnerUserId;
    }

    /**
     * @param carOwnerUserId
     */
    public void setCarOwnerUserId(Long carOwnerUserId) {
        this.carOwnerUserId = carOwnerUserId;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return LONGITUDE
     */
    public BigDecimal getLongitude() {
        return longitude;
    }

    /**
     * @param longitude
     */
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    /**
     * @return LATITUDE
     */
    public BigDecimal getLatitude() {
        return latitude;
    }

    /**
     * @param latitude
     */
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    /**
     * @return HELP_LOCAL
     */
    public String getHelpLocal() {
        return helpLocal;
    }

    /**
     * @param helpLocal
     */
    public void setHelpLocal(String helpLocal) {
        this.helpLocal = helpLocal;
    }

    /**
     * @return SUPPORT_DATE
     */
    public String getSupportDate() {
        return supportDate;
    }

    /**
     * @param supportDate
     */
    public void setSupportDate(String supportDate) {
        this.supportDate = supportDate;
    }

    /**
     * @return SUPPORT_FINISH_DATE
     */
    public String getSupportFinishDate() {
        return supportFinishDate;
    }

    /**
     * @param supportFinishDate
     */
    public void setSupportFinishDate(String supportFinishDate) {
        this.supportFinishDate = supportFinishDate;
    }

    /**
     * @return STATUS
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return SALES_CONSULTANT_ID
     */
    public Long getSalesConsultantId() {
        return salesConsultantId;
    }

    /**
     * @param salesConsultantId
     */
    public void setSalesConsultantId(Long salesConsultantId) {
        this.salesConsultantId = salesConsultantId;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return ODD_NUMBER
     */
    public String getOddNumber() {
        return oddNumber;
    }

    /**
     * @param oddNumber
     */
    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    
    /**
     * @return the regionName
     */
    public String getRegionName() {
        return regionName;
    }

    
    /**
     * @param regionName the regionName to set
     */
    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    
    /**
     * @return the openId
     */
    public String getOpenId() {
        return openId;
    }

    
    /**
     * @param openId the openId to set
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }


    
    
    /**
     * @return the sosType
     */
    public String getSosType() {
        return sosType;
    }

    
    /**
     * @param sosType the sosType to set
     */
    public void setSosType(String sosType) {
        this.sosType = sosType;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    
    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    
    /**
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }

    
    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    
    /**
     * @return the licenseNo
     */
    public String getLicenseNo() {
        return licenseNo;
    }

    
    /**
     * @param licenseNo the licenseNo to set
     */
    public void setLicenseNo(String licenseNo) {
        this.licenseNo = licenseNo;
    }

    
    /**
     * @return the dealerName
     */
    public String getDealerName() {
        return dealerName;
    }

    
    /**
     * @param dealerName the dealerName to set
     */
    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    
    /**
     * @return the remark
     */
    public String getRemark() {
        return remark;
    }

    
    /**
     * @param remark the remark to set
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    
    /**
     * @return the statusName
     */
    public String getStatusName() {
        return statusName;
    }

    
    /**
     * @param statusName the statusName to set
     */
    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    
    /**
     * @return the typeName
     */
    public String getTypeName() {
        return typeName;
    }

    
    /**
     * @param typeName the typeName to set
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    
}